package com.neudu.glsb.mapper;

import com.neudu.glsb.pojo.Sweetness;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【sweetness(甜度配置表)】的数据库操作Mapper
* @createDate 2025-09-20 11:24:38
* @Entity com.neudu.glsb.pojo.Sweetness
*/
public interface SweetnessMapper extends BaseMapper<Sweetness> {
// 按排序获取所有甜度
    @Select("SELECT * FROM sweetness ORDER BY sort ASC")
    List<Sweetness> listAll();
}




